package com.lt73.publisher.event;

import com.lt73.publisher.entity.Student;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: hanxiao
 * @Date: 2022/4/14 10:54
 */

@Getter
public class StudentEvent extends ApplicationEvent {


    private Student student;

    public StudentEvent(Object source, Student student) {
        super(source);
        this.student = student;
    }
}